An integral with a square root of a polynomial in its denominator
can be expressed as an inverse sine function if the polynomial is quadratic. For cubic or quartic polynomials it is one of the elliptic integrals, which are inverse elliptic functions. If the degree of the polynomial is greater than four it is called a hyperelliptic integral and is not generally expressible in terms of known special functions.
The word “polynomial” as used by mathematicians means integer exponents only. This ensures that polynomials obey addition and multiplication as abstracted in rings, making available the mathematical apparatus of abstract algebra. It also ensures that hyperelliptic integrals are single-valued functions in the complex plane.
Integration of the classical energy equation for power potentials with arbitrary real exponent can lead to an integral of the form
Since the exponent k is allowed to be nonintegral this integral is not a standard hyperelliptic integral. It is multiple-valued as a complex function and does not have any nice symmetry properties that allow application of known techniques for inversion of hyperelliptic integrals. One nevertheless would like an expression for its inverse on the principal Riemann sheet.
The generalized hyperelliptic integral can always be evaluated with a Gauss hypergeometric function
For k = 2 this hypergeometric function is equivalent to an inverse sine as expected, but will be left in this form to express the integral for all positive real values of the exponent. Negative real exponent values require changes to avoid a singular argument and a related imaginary unit, and will be considered later.
For application to classical motions, the generalized hyperelliptic integral is equated to a temporal variable
and the explicit temporal dependence of the motion is found by inverting this equation. The inversion can be easily visualized with a parametric plot whose abscissa is the generalized hyperelliptic integral and whose ordinate is the independent variable:
This visual inversion represents the first quarter of an oscillatory motion whose period is determined by the singularity of the integrand at x = 1 . The value of the integral between zero and and that point is
using an expression for the value of the hypergeometric function at unity. The full period can be written equivalently
using the Legendre duplication formula. For k = 2 the full period is 2π as expected.
One way to achieve inversion of the generalized hyperelliptic integral is with Lagrange inversion: for a function
The limits in this expression of multiple derivatives of powers of the rational function can be evaluated using Mathematica or its equivalent for integral values of the exponent k, but Mathematica at least does not yet handle fractional calculus. Unfortunately the evaluation rapidly becomes too involved to yield a practical result for large integral exponents.
What one can get from evaluation of the limits is an indication of the general form of the power series that represents an inversion of the generalized hyperelliptic integral. Knowing the appropriate form of the expansion allows one to arrange series expansions in ways that Mathematica can handle readily, thereby automating the determination of expansion coefficients. Many of these evaluations take some time to run, so only final results will be presented.
For motion that begins at the origin there are two centers of expansion that are fruitful, the origin x = 0 and the turning point x = 1 . Motion that begins somewhere between the origin and the turning point can be expressed by shifting the temporal variable appropriately.
The limits of multiple derivatives of powers of the rational function for an expansion about the origin present no difficulties, and they are
m | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
k | ||||||||||
2 | 1 | 0 | −1 | 0 | 1 | 0 | −1 | 0 | 1 | 0 |
3 | 1 | 0 | 0 | −3 | 0 | 0 | 45 | 0 | 0 | −2025 |
4 | 1 | 0 | 0 | 0 | −12 | 0 | 0 | 0 | 3024 | 0 |
5 | 1 | 0 | 0 | 0 | 0 | −60 | 0 | 0 | 0 | 0 |
The limits for an expansion about the turning point are not so simply determined. Using an exact limit of unity produces imaginary singularities for limits of odd-order multiple derivatives, in addition to values that are half of what is expected: presumably this occurs because the singularity in the integral falls on the radius of convergence of the series and Mathematica assigns only half of the value of complex residues determining the results. The expected values can be deduced by using a rational approximation to unity that indicates approximate limits, but the result is not clean as can be seen in the code. The way to get a clean answer is by adding a factor of two for the exact limit of unity and removing imaginary values explicitly. The correct values are
m | 1 | 2 | 3 | 4 | 5 | 6 | ||||
k | ||||||||||
2 | 0 | −1 | 0 | 1 | 0 | −1 | ||||
3 | 0 | −3/2 | 0 | 9/2 | 0 | −135/4 | ||||
4 | 0 | −2 | 0 | 12 | 0 | −216 | ||||
5 | 0 | −5/2 | 0 | 25 | 0 | −1625/2 |
It is worth noting that simply graphing the functions resulting from the multiple derivatives will not indicate the correct limits for the expansion about the turning point. Limit is more careful than Plot in combining large quantities that ultimately cancel one another.
The results for limits indicate that the expansion about the origin is of the form
while the expansion about the turning point is of the form
Another way to justify the form of the expansion about the origin is to set in the equation to be inverted and cancel a single power of the temporal variable,
and it is immediately clear that can only be a function of powers of . The form of the expansion about the turning point is a generalization of the behavior of sine about , which is equivalent to a cosine about the origin.
The expected procedure at this point is to expand the generalized hyperelliptic integral about either point in Mathematica, insert the expansion, expand and collect on equal powers and set equal to the temporal variable to determine coefficients recursively. Unfortunately Mathematica (along with humans) will balk at arbitrary powers of an infinite summation. It is much more convenient to work with expansions in product form,
because then the arbitrary powers of binomials can be expanded in general form as
which is how Mathematica interprets binomial coefficients of nonintegral argument in any case.
For the expansion about the origin, the nonintegral power in the argument of the hypergeometric function will lead to singular expansion coefficients if the power series is developed with respect to x directly. Instead since a power is small whenever its base is small, the power series is developed with respect to the entire argument xk and the arbitrary power substituted afterward. The justification for this process is that it leads to a sensible result that works.
Mathematica then makes relatively light work of integral powers of series to the desired level of accuracy, from which terms can be collected and groups of coefficients equated to zero. The result for an expansion depth of four terms beyond the initial linear is
which when expanded to the same order is
These expansion coefficients match the limits of multiple derivatives of powers of the rational function given above after being multiplied by the factorial of the power of the temporal variable in each term.
Since the expansion coefficients are simple rational functions, this is clearly an analytic function of the exponent k in the denominator of the integrand. This approximation represents an extension of the inverse sine function to a function depending continuously on this exponent.
For the expansion about the turning point, the nonintegral power in the argument of the hypergeometric function does not lead to singular expansion coefficients, but the resulting form is not conducive to useful results. Instead first apply an identity for Gauss hypergeometric functions,
which in the present case becomes
Multiplying by a single power of x and recognizing the constant as the quarter period of the motion, the equation determining expansion coefficients is
The quantity is small and the hypergeometric function can be easily expanded with respect to that entire argument. Mathematica can handle expansion of the square root since all powers are integral there, so the evaluation proceeds in the same manner as the previous case. The result for an expansion depth of three terms beyond the initial unity is
which when expanded to the same order is
These expansion coefficients again match the limits of multiple derivatives of powers of the rational function given above after being multiplied by the factorial of the power of the temporal variable in each term.
The expansions about the two endpoints should meet in the middle of the range with a judicious choice of number of terms. For the approximations given, the expansion about the turning point must be truncated by one term to allow meeting. An approximate inverse function can then be defined piecewise by reflection about the quarter period of the motion and the x-axis as necessary. It turns out to look like this:
This is a visualization of the motion defined by an inverse generalized hyperelliptic integral as a continuous analytic function of the exponent in the denominator of the integrand. Quite cool.
For a negative value of the exponent in the generalized hyperelliptic integral, first define a positive value
where the integral is again evaluated with a Gauss hypergeometric function. Note that the second parameter of the Gauss hypergeometric function is , a combination that links pairs of power potentials in both classical and quantum mechanics.
The quarter period for this inversion is
so that the full period can be written equivalently
The full period for p = 1 is 2π because the Gauss hypergeometric function for that case is equivalent to an inverse sine plus the square root of a quadratic polynomial.
Lagrange inversion cannot here be used to indicate the general form of expansions due to the nonintegral power of the multiplicative factor. In order to determine the form of the expansion about the origin, set in the equation to be inverted and again cancel a single power of the temporal variable:
By inspection can only be a function of powers of , so that the expansion about the origin is of the form
As a side note it now becomes clear that Lagrange inversion is not really needed to determine the form of expansions, but is worth including to see how well the method works in application. Lagrange inversion also provides a check on the accuracy of expansions for a positive exponent that will not be available for the negative exponent.
The expansion about the turning point is again a generalization of the behavior of sine about ,
but with the appropriate quarter period. As for expansions for a positive exponent, it is more convenient to work with expansions in product form:
For the expansion about the origin, the method for determining the coefficient proceeds much as that for a positive exponent. The result for an expansion depth of four terms beyond the initial power is
which when expanded to the same order is
For the expansion about the turning point, again apply an identity for Gauss hypergeometric functions,
Multiplying by the remaining factors and simplifying, the equation determining expansion coefficients is
The evaluation proceeds now as for the case of positive exponent values. The result for an expansion depth of three terms beyond the initial unity is
which when expanded to the same order is
An approximate inverse function is defined piecewise as for positive exponent values by matching the two expansions. The result looks like this:
For the Kepler potential p = 1 and nearby exponent values the expansion about the origin is quite good over the entire quarter period. The leading fractional power for negative exponent values allows one to construct a periodic motion even though the expansion itself does not have alternating signs.
The difference in behavior for positive and negative values of the exponent is most noticeable at the origin and half periods, resulting in two piecewise functions of distinctly different appearance. Once again, the complete code is available for extending the expansions by additional terms.
Uploaded 2015.05.22 — Updated 2017.07.31 analyticphysics.com